    function toggleDisplay(object, hyperlink, viewtext, hidetext)
	{
        var row = document.getElementById(object);
		var hlink = document.getElementById(hyperlink);
		if (row.style.display == '')  
		{
			row.style.display = 'none';
			hlink.innerHTML= viewtext;
		}
		else 
		{
			row.style.display = '';
			hlink.innerHTML= hidetext;
		}
    }
	
	function validateQuestion (questionEl, message) 
	{
		var q = document.getElementById(questionEl);
		
		if(q.value.length < 10)
		{
			window.alert(message);
			return false;
		}	
		else
		{
			return confirm('Are you sure you wish to continue?');
		}
	}